<?php
my_component_load('pr_jabatan_generate');
my_component_load('list_kalender' , false);   
$task = isset($_GET['task']) ? $_GET['task'] : "";  

if($task=='update_departemen'){
	$content = update_departemen('');
}elseif($task=='update_realisasi'){
	ini_set("max_execution_time","10000");
	$content = update_realisasi('');	
}elseif($task=='generate'){
	$content = form_generate('');
}elseif($task=='absen'){
	ini_set("max_execution_time","10000");
	$content = update_a_absen_payroll('');	
}elseif($task=='update_periode_spl'){
	ini_set("max_execution_time","10000");
	$content = update_periode_spl('');	
}
generate_my_web( $content , "Generated from jabatan_temp" );